package com.novellotus.iov.carvice.bean;

/**
 * Created by Rich on 2017/9/4.
 */

public class RxUpdate {

    //检查Android个人版是否更新[update:1-有强制更新版本需要强制更新;update:0-已经是最新版本不需要跟新;update:2-有新版本但是不需要强制更新]
    /**
     * buildId : 1
     * update : 1
     * appVersionVO : {"buildId":4,"appName":"A4","downloadUrl":"www","updateLog":"ww","updateInstall":"1"}
     */

    private int buildId;
    private int update;
    private AppVersionVOBean appVersionVO;

    public int getBuildId() {
        return buildId;
    }

    public void setBuildId(int buildId) {
        this.buildId = buildId;
    }

    public int getUpdate() {
        return update;
    }

    public void setUpdate(int update) {
        this.update = update;
    }

    public AppVersionVOBean getAppVersionVO() {
        return appVersionVO;
    }

    public void setAppVersionVO(AppVersionVOBean appVersionVO) {
        this.appVersionVO = appVersionVO;
    }

    public static class AppVersionVOBean {
        /**
         * buildId : 4
         * appName : A4
         * downloadUrl : www
         * updateLog : ww
         * updateInstall : 1
         */

        private int buildId;
        private String appName;
        private String downloadUrl;
        private String updateLog;
        private String updateInstall;

        public int getBuildId() {
            return buildId;
        }

        public void setBuildId(int buildId) {
            this.buildId = buildId;
        }

        public String getAppName() {
            return appName;
        }

        public void setAppName(String appName) {
            this.appName = appName;
        }

        public String getDownloadUrl() {
            return downloadUrl;
        }

        public void setDownloadUrl(String downloadUrl) {
            this.downloadUrl = downloadUrl;
        }

        public String getUpdateLog() {
            return updateLog;
        }

        public void setUpdateLog(String updateLog) {
            this.updateLog = updateLog;
        }

        public String getUpdateInstall() {
            return updateInstall;
        }

        public void setUpdateInstall(String updateInstall) {
            this.updateInstall = updateInstall;
        }
    }
}
